From cc7226b40dac9227a9b47e745da6d5e3cbfd2f02 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 13 Mar 2008 15:27:53 +0000 Subject: [PATCH] (defadvice): Add usage pattern. --- lisp/emacs-lisp/advice.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index a9e2b58f0dc..4babd844cf9 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -3817,7 +3817,10 @@ the advised function. `freeze' implies `activate' and `preactivate'. The documentation of the advised function can be dumped onto the `DOC' file during preloading. -See Info node `(elisp)Advising Functions' for comprehensive documentation." +See Info node `(elisp)Advising Functions' for comprehensive documentation. +usage: (defadvice FUNCTION (CLASS NAME [POSITION] [ARGLIST] FLAG...) + [DOCSTRING] [INTERACTIVE-FORM] + BODY...)" (declare (doc-string 3)) (if (not (ad-name-p function)) (error "defadvice: Invalid function name: %s" function)) -- 2.30.2